package com.lkd.service.impl;

import com.lkd.mapper.BusinessMapper;
import com.lkd.service.BusinessService;
import com.lkd.vo.BusinessVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BusinessServiceImpl implements BusinessService {

    @Autowired
    private BusinessMapper businessMapper;

    @Override
    public BusinessVo selectBusinessById(String name, String regionId) {
        return businessMapper.selectBusinessById(name,regionId);
    }

    @Override
    public BusinessVo selectBusinessByNodeId(Long nodeId) {
        return businessMapper.selectBusinessByNodeId(nodeId);
    }

    @Override
    public BusinessVo selectBusinessByInnerCode(String innerCode) {
        return businessMapper.selectBusinessByInnerCode(innerCode);
    }
}
